package com.erp.erp_entitys.money.rsp;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName : ImportPurchaseRsp
 * @Description : 导采购信息出参实体
 * @Author : lst
 * @Date: 2020-12-29 17:56
 */
public class ImportPurchaseRsp implements Serializable {
    private static final long serialVersionUID = -8582110408781888447L;

    /**
     * 采购主表id
     */
    private Integer id;

    /**
     * 采购单号
     */
    private String purchaseNo;

    /**
     * 外销合同号
     */
    private String contractNo;

    /**
     * 供应商名称
     */
    private String supplierName;

    /**
     * 币种
     */
    private String currency;

    /**
     * 币种编码
     */
    private String currencyCode;

    /**
     * 业务员
     */
    private String berPersonName;

    /**
     * 业务员编码
     */
    private String berPersonCode;

    /**
     * 操作员
     */
    private String operation;

    /**
     * 操作员编码
     */
    private String operationNo;

    /**
     * 采购合同总额
     */
    private BigDecimal totalPurchaseAmount;

    /**
     * 定金比例
     */
    private BigDecimal earnestRate;

    /**
     * 定金金额
     */
    private BigDecimal earnestMoney;

    /**
     * 已付款金额
     */
    private BigDecimal amountPaid;

    /**
     * 未付款金额
     */
    private BigDecimal unpaidAmount;

    /**
     * 签约公司编码
     */
    private String signedCompanyCode;

    /**
     * 签约公司名称
     */
    private String signedCompanyName;

    /**
     * 申请合计
     */
    private BigDecimal totalApplication;

    /**
     * 外销已收款金额
     */
    private BigDecimal saleAmountReceived;

    /**
     * 客户代码(关联外销表中的客户编码)
     */
    private String customerCode;

    /**
     * 供应商账期
     */
    private String supplierAccountPeriod;

    /**
     * 外销客户账期
     */
    private String saleAccountPeriod;

    /**
     * 价格术语
     */
    private String priceTermsName;

    /**
     * 应付金额 = 采购定金金额
     */
    private BigDecimal amountsPayable;

    /**
     * 付款类型编码
     */
    private String typeCode;

    /**
     * 是否含税(1:含税出厂价2:未税出厂价3:含税FOB价4:未税FOB价)
     */
    private Integer isTaxIncluded;


    public BigDecimal getAmountsPayable() {
        return amountsPayable;
    }

    public void setAmountsPayable(BigDecimal amountsPayable) {
        this.amountsPayable = amountsPayable;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getBerPersonName() {
        return berPersonName;
    }

    public void setBerPersonName(String berPersonName) {
        this.berPersonName = berPersonName;
    }

    public String getBerPersonCode() {
        return berPersonCode;
    }

    public void setBerPersonCode(String berPersonCode) {
        this.berPersonCode = berPersonCode;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getOperationNo() {
        return operationNo;
    }

    public void setOperationNo(String operationNo) {
        this.operationNo = operationNo;
    }

    public BigDecimal getTotalPurchaseAmount() {
        return totalPurchaseAmount;
    }

    public void setTotalPurchaseAmount(BigDecimal totalPurchaseAmount) {
        this.totalPurchaseAmount = totalPurchaseAmount;
    }

    public BigDecimal getEarnestRate() {
        return earnestRate;
    }

    public void setEarnestRate(BigDecimal earnestRate) {
        this.earnestRate = earnestRate;
    }

    public BigDecimal getEarnestMoney() {
        return earnestMoney;
    }

    public void setEarnestMoney(BigDecimal earnestMoney) {
        this.earnestMoney = earnestMoney;
    }

    public BigDecimal getAmountPaid() {
        return amountPaid;
    }

    public void setAmountPaid(BigDecimal amountPaid) {
        this.amountPaid = amountPaid;
    }

    public BigDecimal getUnpaidAmount() {
        return unpaidAmount;
    }

    public void setUnpaidAmount(BigDecimal unpaidAmount) {
        this.unpaidAmount = unpaidAmount;
    }

    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    public String getSignedCompanyCode() {
        return signedCompanyCode;
    }

    public void setSignedCompanyCode(String signedCompanyCode) {
        this.signedCompanyCode = signedCompanyCode;
    }

    public String getSignedCompanyName() {
        return signedCompanyName;
    }

    public void setSignedCompanyName(String signedCompanyName) {
        this.signedCompanyName = signedCompanyName;
    }

    public BigDecimal getTotalApplication() {
        return totalApplication;
    }

    public void setTotalApplication(BigDecimal totalApplication) {
        this.totalApplication = totalApplication;
    }

    public BigDecimal getSaleAmountReceived() {
        return saleAmountReceived;
    }

    public void setSaleAmountReceived(BigDecimal saleAmountReceived) {
        this.saleAmountReceived = saleAmountReceived;
    }

    public String getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public String getSupplierAccountPeriod() {
        return supplierAccountPeriod;
    }

    public void setSupplierAccountPeriod(String supplierAccountPeriod) {
        this.supplierAccountPeriod = supplierAccountPeriod;
    }

    public String getSaleAccountPeriod() {
        return saleAccountPeriod;
    }

    public void setSaleAccountPeriod(String saleAccountPeriod) {
        this.saleAccountPeriod = saleAccountPeriod;
    }

    public Integer getIsTaxIncluded() {
        return isTaxIncluded;
    }

    public void setIsTaxIncluded(Integer isTaxIncluded) {
        this.isTaxIncluded = isTaxIncluded;
    }

    public String getPriceTermsName() {
        return priceTermsName;
    }

    public void setPriceTermsName(String priceTermsName) {
        this.priceTermsName = priceTermsName;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ImportPurchaseRsp").append('[')
                .append("id=")
                .append(id)
                .append(",purchaseNo=")
                .append(purchaseNo)
                .append(",contractNo=")
                .append(contractNo)
                .append(",supplierName=")
                .append(supplierName)
                .append(",currency=")
                .append(currency)
                .append(",currencyCode=")
                .append(currencyCode)
                .append(",berPersonName=")
                .append(berPersonName)
                .append(",berPersonCode=")
                .append(berPersonCode)
                .append(",operation=")
                .append(operation)
                .append(",operationNo=")
                .append(operationNo)
                .append(",totalPurchaseAmount=")
                .append(totalPurchaseAmount)
                .append(",earnestRate=")
                .append(earnestRate)
                .append(",earnestMoney=")
                .append(earnestMoney)
                .append(",amountPaid=")
                .append(amountPaid)
                .append(",unpaidAmount=")
                .append(unpaidAmount)
                .append(",signedCompanyCode=")
                .append(signedCompanyCode)
                .append(",signedCompanyName=")
                .append(signedCompanyName)
                .append(",totalApplication=")
                .append(totalApplication)
                .append(",saleAmountReceived=")
                .append(saleAmountReceived)
                .append(",customerCode=")
                .append(customerCode)
                .append(",supplierAccountPeriod=")
                .append(supplierAccountPeriod)
                .append(",saleAccountPeriod=")
                .append(saleAccountPeriod)
                .append(",priceTermsName=")
                .append(priceTermsName)
                .append(",amountsPayable=")
                .append(amountsPayable)
                .append(",typeCode=")
                .append(typeCode)
                .append(",isTaxIncluded=")
                .append(isTaxIncluded)
                .append(']');
        return sb.toString();
    }
}
